<!DOCTYPE html>
<html>
<head>



    <template file="Home/meta" />
    <template file="Home/css" />


    <!--<link rel="stylesheet" href="/Statics/Home/css/amazeui.switch.css">-->



</head>
<body>
<template file="Home/search" />

<form method="post" class="am-form  wukuang  form-horizontal J_ajaxForm" action='{:U("")}'>
    <div class="am-g  well  common-border-bottom  order-dizhi" id="dizhi">


        <i class="am-icon-map-marker"></i>
        <i class="am-icon-angle-right"></i>
        <div class="am-block am-cf ">

            <span class="am-fl name"> {$default_address.name}</span>

            <span class="am-fr tel">{$default_address.tel}</span>
        </div>
        <div class="am-margin-top-xs ">地址:  <span class="address">{$default_address.xiaoqu} {$default_address.address}</span>
        </div>

        <div class="am-margin-top-xs ">
            提货站:  <span class="shop_id">{$default_address.shop_id|get_shop_name}</span>
        </div>


        <input type="hidden" name="name" value="{$default_address.name}">
        <input type="hidden" name="address" value="{$default_address.xiaoqu} {$default_address.address}">
        <input type="hidden" name="tel" value="{$default_address.tel}">
        <input type="hidden" name="shop_id" value="{$default_address.shop_id}">

    </div>


<div class="am-g  well  common-border-bottom common-border-top  am-margin-top-sm  ">


    <volist name="orderlist.data" id="v">


        <div class="  am-g cart-list-item     common-border-bottom am-padding-vertical-sm ">



            <div class="am-u-sm-4 am-text-center  list_img"><img src="{$v.thumb}" class="am-img-responsive"></div>
            <div class="am-u-sm-8 am-text-xs am-padding-left-0">




                <a href="{:U('Home/Product/show',array('id'=>$v['product_id']))} " class="">
                    <h3 class="am-margin-0">
                        {$v.title}</h3>
                </a>

                <div class="am-cf am-text-sm">

                    <span class="am-u-sm-6 am-text-danger"> ￥ {$v.price}</span>
                    <span class="am-u-sm-6 am-text-right">  x {$v.num} </span>



                </div>







            </div>


        </div>

    </volist>
</div>


    <!--<div href="" class="am-bg-fff am-padding-sm am-padding-vertical-lg am-block common-border-bottom">-->
        <!--<span> 配送方式</span>-->

        <!--<span class="am-fr am-text-sm am-text-right">  ￥0.00-->
            <!--<br> 顺丰 配送 </span>-->
    <!--</div>-->

    <!--<div href="" class="am-bg-fff am-padding-sm am-padding-vertical-lg am-block common-border-bottom">-->
        <!--<span> 配送方式</span>-->

        <!--<span class="am-fr am-text-sm am-text-right am-form-group" >-->



                <!--<select name="songdatime"   style="width: 18rem;" >-->
                    <!--<option value="2">请选择期望配送时间</option>-->
                    <!--<volist name=":F('Var_songdatime')" id="v">-->
                        <!--<option value="{$v.name}">{$v.name}</option>-->

                    <!--</volist>-->

                <!--</select>-->

        <!--</span>-->
    <!--</div>-->


    <!--<div href="" class="am-bg-fff am-padding-sm am-padding-vertical-lg am-block common-border-bottom">-->
        <!--<span> 优惠券</span>-->

        <!--<span class="am-fr am-text-sm am-text-right am-form-group" >-->



                <!--<select name="yhj"   style="width: 11rem;" >-->

                    <!--<volist name="yhjs" id="v">-->
                        <!--<option value="{$v.code}">{$v.title}</option>-->

                    <!--</volist>-->

                    <!--<option value="">不使用优惠券</option>-->

                <!--</select>-->

        <!--</span>-->
    <!--</div>-->



    <!--<div  class=" am-bg-fff am-padding-sm am-block common-border-bottom">-->
        <!--<span> 使用积分抵用先进</span>-->

        <!--<span class="am-fr am-padding-top-sm">  <input type="checkbox" name="if_jf" class="am-switch am-round" checked /> </span>-->
    <!--</div>-->





    <div  class="am-bg-fff am-padding-sm am-block order-liuyan common-border-bottom">
        <span> 买家留言</span>

        <input type="text" name="desc" class="am-form-field" placeholder="选填:对本次交易的说明(建议填写已和卖家协商一致的内容)">

    </div>








<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-index  common-border-top "
     id="">


    <div class="order-from-bottom am-text-right">

        <span class="am-margin-right-sm"> 合计：<span class="am-text-f60">￥{$orderlist.price_sum}</span></span>

        <button  class="am-btn  am-btn-danger am-btn-xl ajax-post"  target-form="J_ajaxForm"  type="submit">提交订单</button>



    </div>
</div>
</form>

<div class="  am-popup am-text-left" tabindex="-1" id="dizhis">
    <div class="am-modal-dialog" style="height: 100%">
        <div class="am-modal-hd ">选择地址
            <a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
        </div>

        <div class="" style="max-height: 100%; overflow: hidden; overflow-y: auto; padding-bottom: 4em">
            <div class="am-modal-bd am-text-left">

                <volist name="address" id="v">
                    <div class="am-g  well    am-margin-bottom-sm ">




                        <div class="am-block am-cf am-margin-top-sm am-padding-horizontal-sm">

                            <span>收货人:{$v.name}</span>

                            <span class="am-fr">{$v.tel}</span>
                        </div>

                        <div class="  am-margin-top-sm am-padding-horizontal-sm">
                            收货地址: {$v.xiaoqu} {$v.address}
                        </div>

                        <div class=" common-border-bottom am-padding-sm">
                            提货站: {$v.shop_id|get_shop_name}
                        </div>


                        <div class="am-block am-cf ">


                            <a class="address_do am-btn am-btn-warning am-btn-block" data-id="{$v.id}" data-name="{$v.name}" data-tel="{$v.tel}" data-shop-id="{$v.shop_id}" data-shop-name="{$v.shop_id|get_shop_name}" data-address="{$v.xiaoqu|get_xiaoqu_name} {$v.address}"  >使用</a>




                        </div>


                    </div>

                </volist>

                <a class="address_do am-btn am-btn-success am-btn-block" href="{:U('User/Address/add',array('order'=>1))}">添加新地址</a>




            </div>


        </div>

    </div>
</div>


    <template file="Home/js" />
    <!--<script src="/Statics/Home/js/amazeui.switch.js"></script>-->
<script>




</script>








</body>
</html>